using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace DalEx
{
    public class DbAddressBookEx : Dal.DbAddressBookDal
    {
        public static Model.DbAddressBook GetModelEx(string strQuery)
        {
            Model.DbAddressBook dbAddressBook = null;
            DataSet ds = Dal.DbAddressBookDal.Select(strQuery);
            if (SqlHelper.HasRow(ds))
                dbAddressBook = new Model.DbAddressBook(ds.Tables[0].Rows[0]);
            return dbAddressBook;
        }
    }
}
